﻿using SharpCompress.Archive;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace November {
    class ArchiveEntryComparer : Comparer<IArchiveEntry> {
        private static readonly IComparer<String> STRING_COMPARER = new AlphaNumericComparer();

        public override Int32 Compare(IArchiveEntry x, IArchiveEntry y) {
            return STRING_COMPARER.Compare(x.FilePath, y.FilePath);
        }
    }
}
